package com.skplanet.oneplusonewindow.moimserver.domain;

import java.util.Collection;



import org.springframework.security.core.GrantedAuthority;

import com.skplanet.oneplusonewindow.moimserver.security.AbstractSecurityUser;


@SuppressWarnings( "serial" )
public class SecurityUser extends AbstractSecurityUser {

	private String name;
	private String nickname;	
	private String userId;
	
	
	public SecurityUser(){
		super();
	}

	public SecurityUser( String username, String password, String salt,
			 			 boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, 
			 			 Collection<GrantedAuthority> authorities ) {
		super( username, password, salt, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities);
	}

	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

}
